package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ly.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 仓库区域对象 erp_warehouse_region
 *
 * @author wutao
 * @date 2024-05-27
 */
@TableName("erp_warehouse_region")
@ApiModel(value = "erp_warehouse_region对象", description = "仓库区域")
@Data
public class WarehouseRegionEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 仓库分区主键id
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 仓库区域名称
     */
    @ApiModelProperty("仓库区域名称")
    @TableField("region_name")
    @Excel(name = "仓库区域名称")
    private String regionName;

    /**
     * 区域编码
     */
    @ApiModelProperty("区域编码")
    @TableField("region_code")
    @Excel(name = "区域编码")
    private String regionCode;

    /**
     * 仓库id
     */
    @ApiModelProperty("仓库id")
    @TableField("warehouse_id")
    @Excel(name = "仓库id")
    private String warehouseId;

    @ApiModelProperty("仓位说明")
    @TableField("region_desc")
    @Excel(name = "仓位说明")
    private String regionDesc;

    /**
     * 状态(0正常 1停用)
     */
    @ApiModelProperty("状态(0正常 1停用)")
    @TableField("status")
    @Excel(name = "状态(0正常 1停用)")
    private String status;

    @ApiModelProperty ("是否再用")
    @TableField ("is_used")
    @TableLogic
    private Integer isUsed;

}
